package com.eddie.jdbc.app;

import java.util.Arrays;
import java.util.Map;

import com.eddie.jdbc.entity.PetTypeVarietiesMappingEntity;
import com.eddie.jdbc.service.PetTypeVarietiesMappingService;
import com.eddie.jdbc.service.impl.PetTypeVarietiesMappingServiceImpl;
import com.eddie.jdbc.vo.R;

/**
 * 
 *
 * @author Eddie
 * @email 1739263410@qq.com
 * @date 2022-03-03 17:57:21
 */
public class PetTypeVarietiesMappingController {
    private PetTypeVarietiesMappingService petTypeVarietiesMappingService = new PetTypeVarietiesMappingServiceImpl();

    public R getPetMapping(Long petId) {
       PetTypeVarietiesMappingEntity entity = petTypeVarietiesMappingService.getPetTypeVarietiesMapping(petId);
       return R.ok().setData(entity);
    }

}
